package com.example.seatastorage;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "seata-order")
public interface SeataOrderFeign {
    
    @GetMapping("/save-order")
    Boolean saveOrder(@RequestParam Long productId, @RequestParam Integer count);
}
